﻿import com.gamemeal.mvc.*;
import com.gamemeal.mvc.datatype.*;

/**
 * @author Colin
 */
class Model2 extends AbstractModel {
	private static var ins:Model2;
	public var msgGreeting:MFString;

	private function Model2(){
		//to initialize value.
		//cross model reference 
		msgGreeting = Model.instance().dataField2;
	}

	public static function instance():Model2{
		if(ins == null)ins = new Model2();
		return ins;
	}

}